package com.ms3ds.deviceData.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 视频设备对象 camera
 * 
 * @author zlw
 * @date 2025-09-20
 */
public class Camera extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 区域id */

    private Long areaId;

    @Excel(name = "区域名")
    private String areaName;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String cameraName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String cameraCode;

    /** 品牌方 */
    @Excel(name = "品牌方")
    private String brand;

    /** 直播地址 */
    @Excel(name = "直播地址")
    private String liveAddress;

    /** 录播地址 */
    @Excel(name = "录播地址")
    private String recordingAddress;

    /** $column.columnComment */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    public void setCameraName(String cameraName) 
    {
        this.cameraName = cameraName;
    }

    public String getCameraName() 
    {
        return cameraName;
    }

    public void setCameraCode(String cameraCode) 
    {
        this.cameraCode = cameraCode;
    }

    public String getCameraCode() 
    {
        return cameraCode;
    }

    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }

    public void setLiveAddress(String liveAddress) 
    {
        this.liveAddress = liveAddress;
    }

    public String getLiveAddress() 
    {
        return liveAddress;
    }

    public void setRecordingAddress(String recordingAddress) 
    {
        this.recordingAddress = recordingAddress;
    }

    public String getRecordingAddress() 
    {
        return recordingAddress;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("cameraName", getCameraName())
            .append("cameraCode", getCameraCode())
            .append("brand", getBrand())
            .append("liveAddress", getLiveAddress())
            .append("recordingAddress", getRecordingAddress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
